package com.shanjupay.merchant.service;

import com.shanjupay.common.domain.BusinessException;

/**
 * TODO
 *
 * @Description  验证码
 * @Author zhangbing
 * @Date 2024/5/10 8:46
 **/
public interface SmsService {

    /**
     * 发送验证码
     * @param phone
     * @return
     */
    String SendMsg(String phone);

    /**
     * 校验验证码
     * @param verifiykey 验证码key
     * @param verifiyCode 验证码
     */
    void checkVerifiyCode(String verifiykey,String verifiyCode ) throws BusinessException;
}
